#ifndef _IXION_H_
#define _IXION_H_

#include <Windows.h>

namespace ixion
{

	
	enum COLOR { 			BLACK 			= 0,
							DARK_BLUE		= 1,
 							DARK_GREEN		= 2,
							DARK_CYAN		= 3,
							DARK_RED		= 4,
							DARK_MAGENTA	= 5,
							DARK_YELLOW		= 6,
							GRAY			= 7,
							DARK_GRAY		= 8,
							BLUE			= 9,
							GREEN			= 10,
							CYAN			= 11,
							RED				= 12,
							MAGENTA			= 13,
							YELLOW			= 14,
							WHITE			= 15
	};
	static HANDLE hConsole = GetStdHandle(STD_OUTPUT_HANDLE);
	static void SetBackgroundColor(COLOR color)
	{
		SetConsoleTextAttribute(hConsole, color * 0x10);
	}
	static void SetForegroundColor(COLOR color)
	{
		SetConsoleTextAttribute(hConsole, color);
	}
	static void SetCursorPos( int x, int y)
	{
		COORD temp;
		temp.X = x;
		temp.Y = y;
		SetConsoleCursorPosition(hConsole,temp);
	}
};




#endif